﻿namespace WinFormsMVVM.Commands
{
    public interface ICommand<T, R>
    {
        event EventHandler? CanExecuteChanged;

        bool CanExecute(T parameter);

        R Execute(T parameter);
    }
}
